repo/commit: Change most of this file to new code style
authorColin Walters <walters@verbum.org>
Mon, 27 Mar 2017 18:42:08 +0000 (14:42 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Tue, 28 Mar 2017 19:29:54 +0000 (19:29 +0000)
commitd994aee0a11701068c831b7768c11a00a361f428
treec47b828404284b91a0d53f09cbe70c5538e4456f
parent5333a429ce124854512d7c88ec05ae50d511bd2a
repo/commit: Change most of this file to new code style

I didn't touch everything since at least `commit_loose_object_trusted`
does this:

```
 out:
  if (G_UNLIKELY (error && *error))
    g_prefix_error (error, "Writing object %s.%s: ", checksum, ostree_object_type_to_string (objtype));
```

Which...it'd be interesting to make into an autocleanup. But for now just
keeping up with converting things bit by bit.

Closes: #761
Approved by: jlebon
src/libostree/ostree-repo-commit.c